﻿namespace Leo.Awesome.AppPlatform.ValueObjects
{
    public class MenuMeta
    {
        public MenuMeta()
        {

        }

        public MenuMeta(
            string title,
            string icon,
            string badge,
            string guard,
            bool dot,
            bool hidden,
            bool noKeepAlive,
            bool breadcrumbHidden,
            bool noClosable,
            string style,
            bool isCrumbs,
            bool hideChildrenInMenu,
            int orderNo = 0,
            bool hideMenu = false)
        {
            Title = title;
            Icon = icon;
            Badge = badge;
            Guard = guard;
            Dot = dot;
            Hidden = hidden;
            NoKeepAlive = noKeepAlive;
            BreadcrumbHidden = breadcrumbHidden;
            NoClosable = noClosable;
            Style = style;
            IsCrumbs = isCrumbs;
            HideChildrenInMenu = hideChildrenInMenu;
            OrderNo = orderNo;
            HideMenu = hideMenu;
        }
        /// <summary>
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        ///     图标
        /// </summary>
        public string Icon { get; set; }

        public string Badge { get; set; }

        public string Guard { get; set; }

        public bool Dot { get; set; }
        public bool Hidden { get; set; }
        public bool NoKeepAlive { get; set; }

        public bool BreadcrumbHidden { get; set; }

        public bool NoClosable { get; set; }

        public string Style { get; set; }

        public bool IsCrumbs { get; set; }

        public bool HideChildrenInMenu { get; set; }

        public int OrderNo { get; set; }
            
        public bool HideMenu { get; set; }
    }
}
